<template>
    <div class="children">
        {{label}}
        <el-button @click="vValue.value += 3">+3</el-button>
<!--        <el-input v-model="vValue.value"></el-input>-->
    </div>
</template>

<script>
import {useVModel} from "@/utils/useVModel";

export default {
    name: "children",
    props: {
        label: {}
    },
    data() {
        const vValue = useVModel(this, 'label')
        return {
            vValue
        }
    }
}
</script>

<style scoped lang="less">

</style>
